﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Transiteers.Controllers
{
    public class HomeController : BaseController
    {

        public ActionResult Index()
        {
            return View();
        }

        public ActionResult Login(string username, string password)
        {
            if (DB.CheckLogin(username, password))
                Session["Login"] = username;
            else
                Session["Login"] = null;
            return View();
        }

        [HttpPost]
        public ActionResult Index(String blah)
        {
            return View();
        }

    }
}
